package movieexample.movieexample.dao;

import movieexample.movieexample.pojo.Person;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.neo4j.repository.query.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

public interface PersonDao  extends CrudRepository<Person,Long> {

    Person findByName(@Param("name")String name);
}
